<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  	<?php 
  		$this->headLink()->appendStylesheet(HTTP_HOST.'/css/site-manager/style.css');
		$this->headLink()->appendStylesheet(HTTP_HOST.'/css/jquery/treeview/jquery.treeview.css'); 
  		echo $this->headLink();
  	?>
  	<?php 
  		$this->headScript()
  			->prependFile(HTTP_HOST.'/js/jQuery/jquery-1.6.2.min.js')
  			;
  		$this->headScript()->appendFile(HTTP_HOST.'/js/jQuery/jquery.cookie.js');
		$this->headScript()->appendFile(HTTP_HOST.'/js/jQuery/jquery.treeview.js');		
		$this->headScript()->appendFile(HTTP_HOST.'/js/site-manager/index.js');
		$this->headScript()->captureStart();
		?>
		HTTP_HOST = '<?=HTTP_HOST?>';
		$(document).ready(function(){      
	    	$("#site-navigate").treeview({
	        	animated: "fast",
	        	collapsed: true,
	        	unique: true,
	        	persist: "cookie"
	    	}); 
	    	$("#site-navigate").fadeIn();   
	    });	
		<?php 
		$this->headScript()->captureEnd(); 
		echo $this->headScript();
  	?>
</head>
<body>

<div id="loader_bg"></div>

<div id="data_popup_bg">
	<div id="data_popup_div">
		<div id="close_data_popup">
			<div id="data_popup_title"></div>
			<img src="<?=HTTP_HOST?>/images/controll/close1.png" alt="" id="close_popup_btn"/>
		</div>
		<div id="data_popup_main_wrap"></div>
	</div>
</div>

<div id="loader_div">
	<img src="<?=HTTP_HOST ?>/images/controll/LOADER.gif" alt="" id="loader_image" style="z-index: 9999999; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);"/>
</div>
<div id="wrap_bg">
	<div id="main_wrap">
		<div id="logo_div">
			<img src="<?=HTTP_HOST;?>/images/admin-side/logo.png" id="logo_id"/>
		</div>
		<div id="left_menu">
			<?php echo $this->navigation()->menu($this->menu)->renderPartial(null, 'backend-menu.phtml'); ?>
		</div>
		<div id="content">
			<div id="breadskrumb_div">
				<?=$this->breadscrumbs;?>
			</div>
			<?php echo $this->layout()->content ?>
		</div>
	</div>
</div>
<div id="footer_helper">
	<div id="footer">
	
	</div>
</div>
</body>
</html>